{% extends 'book/base.html' %}
{% block title %}
    编辑图书
{% endblock title %}
{% block content %}
    <form action="{% url 'book_edit' book_id=book.id %}", method="post">
        {% csrf_token %}
        书名: <input type="text", name="book_name", value="{{ book.name }}" /><br />
        作者: <input type="text", name="book_author", value="{{ book.author }}" /><br />
        价格: <input type="text", name="book_price", value="{{ book.price }}" /><br />
        <input type="submit" value="修改图书" />
    </form>
{% endblock content %}